home *** CD-ROM | disk | FTP | other *** search
- r e a d m e . s t
-
-
- This port of GNUPLOT2 uses the GCC 1.39 compiler. The `make' program
- at termiator.cc.umich (GNUMAKE 3.58) doesn't have enough virtual
- memory (stack space) to process the rules for term.o. Therefore the
- rule for ``unsafe-gnuplot'' is added to generate the linking command.
- So, to compile (with GCC)
- gcc -O -Iterm -c term.c
- make -f makefile.st unsafe-gnuplot
- For debugging, compile with
- gcc -O -g -Iterm -c erm.c
- make -f makefile.st g-unsafe-gnuplot
- with GCC 1.39 later than april -91
-
- For using the coprocesor (memory-mapped, *not* TT), compile with
- gcc -O -Iterm -c term.c
- make -f makefile.st c-unsafe-gnuplot
-
- GRAPHICS
-
- The atari graphics driver works with VDI calls only, meaning that it
- should be possible to use colour, large screens, etc with a minimum of
- hassle (by virtue of not using LINEA and/or hardwired constants). The
- driver works out the size of the terminal font (possibly different
- from the graphics text font..) and leaves room for one line of text
- under the graphics image.
-
- LIBRARIES
-
- you need patchlevel 66+ (or something) of the Atari libraries (the
- versions that include vdiesc.c + the extensions to vdibind.h) to get
- the vdi ESC functions.
- If you have patchlevel 66 (and possibly less), you should
- -a Add a ``s++;'' statement to the first while loop of `strtod()'
- in file `atof.c'. Look at it, you'll know what I mean.. .
- -b Add a statement ``if(!isalnum(c)) break;'' to the main
- loop in `strtol()' in file `strtol.c'. Otherwise the string
- "10]" gets converted to the value 106.
-
- ``FEATURES''
-
- Compiling with 16-bit integers is possible (once you track the
- misuse/misdeclaration of ```alloc()'' (assumes that sizeof(char *) ==
- sizeof(int)). The size and speed improvements are truly neglible,
- however, and the help system fails to work, so I use 32 bit ints.. .
-
- It seems that shell escape does work, in that a `!gulam' lands me in
- gulam. Single commands, e.g. `!ls', in a gnuplot launched from gulam
- do *not* work, however, so it's not really satisfactory.
-
-
- READLINE
-
- I put in GNU readline to provide a reasonable command line interface.
- Using readline, the arrow keys do what we want, ALT works as META for
- the typical emacs commands (I took out VI commands as they screwed up
- the compile of the test version of readline). GNU readline was
- incorporated in GNUPLOT2.0 but *not* in GNUPLOT2.01, so I put it back
- in (I had ported GNUPLOT 2.0 first..). I haven't got the faintest idea
- why anyone would want to take out GNU readline. Of course, the
- copyleft applies to this port, but who cares?
-
-
- KEYASSIGNMENTS
-
- The readline library is hooked up to accept the ST special keys (arrow
- keys, HOME-END etc) as editing keys. Here is a list of key assignments
-
- LEFTARROW backwards
- RIGHTARROW forwards
- UPARROW previous_history
- DOWNARROW next_history
- ^LEFTARROW backwards_word
- ^RIGHTARROW forwad_word
- ^UPARROW beg_history
- ^DOWNARROW end_history
- HOME beg_line
- END end_line
- PAGEUP beg_history
- PAGEDOWN end_history
- DELETE rubout
- UNDO undo
-
-
- Have fun,
- Jens Tingleff 2 June -91
-
-